Ambient Shadow Detection and Removal via Flash/Noflash Pairs
نویسندگان
چکیده
Flash/noflash pairs have been studied as a simple mechanism for supplying less-noisy information for dark areas of an ambient-light image. This research direction also includes image pairs or sequences of nighttime or obscured imagery such as surveillance video. Ambient imagery has some advantages over flash images, in general, in that a flash can create harsh or unpleasing effects, and can also generate additional shadowing. The extra shadows from the flash are in fact quite amenable to detection. However, filling in information in image areas occupied by shadows in the ambient image has not been effectively considered. Here we consider the problem of detecting shadows in the image taken under ambient light, given extra information from a flash image registered with the first. Clearly, the pure-flash image is the difference between the two — and has no ambient-shadow component. But the question of how best to detect the ambient shadow remains. We argue that first going to a “spectrally sharpened” color space, and then focusing on the difference in a log domain of the flash image and the ambient image, gives a very simple feature space consisting of two components — one in an illuminant-change 3-vector direction, and one along the gray axis. This space provides excellent separation of the shadow and nonshadow areas. Regressing pixel data from the flash image to the nonflash one adjusts the scale properly, and then inserting edges from the flash image inside the ambient-shadow region into the ambient image edge map and inverting Poisson’s equation fills in the shadow. In this way, we arrive at an image with the advantages of the ambient-only image — warmth, no flash effects such as disturbing illumination dropoff with distance and pixel saturation etc. — but no shadows.
منابع مشابه
Automatic Compensation for Camera Settings for Images Taken under Different Illuminants
The combination of two images shot for the same scene but under different illumination has been used in wide applications ranging from estimating scene illumination, to enhancing photographs shot in dark environments, to shadow removal. An example is the use of a pair of images shot with and without a flash. However, for consumer-grade digital cameras, due to the different illumination conditio...
متن کاملPractical Scene Illuminant Estimation via Flash/No-Flash Pairs
In this paper, we present a method to estimate ambient illuminants using no-flash/flash image pairs. Accurate estimation of the ambient illuminant is useful for imaging applications. In most applications, however, this task is difficult because of the complicated combination of illuminants, surfaces, and camera characteristics during the imaging process. To estimate the scene illumination, a ve...
متن کاملVision for Graphics
Creating compelling-looking content using conventional graphics techniques is often laborious and requires significant artistry and experience. Two related issues that we’ve been investigating are how this content-creation process can be simplified without sacrificing quality, and how rendering can be made photorealistic or compelling. In this paper, we describe how images and videos can be pro...
متن کاملEfficient Shadow Removal Using Subregion Matching Illumination Transfer
This paper proposes a new shadow removal approach for input single natural image by using subregion matching illumination transfer. We first propose an effective and automatic shadow detection algorithm incorporating global successive thresholding scheme and local boundary refinement. Then we present a novel shadow removal algorithm by performing illumination transfer on the matched subregion p...
متن کاملStacked Conditional Generative Adversarial Networks for Jointly Learning Shadow Detection and Shadow Removal
Understanding shadows from a single image spontaneously derives into two types of task in previous studies, containing shadow detection and shadow removal. In this paper, we present a multi-task perspective, which is not embraced by any existing work, to jointly learn both detection and removal in an end-to-end fashion that aims at enjoying the mutually improved benefits from each other. Our fr...
متن کامل